package com.zhn.service;

import com.spring.*;

@Component("userService")
//@Scope("prototype")
public class UserServiceImpl extends ZhnBeanPostProcessor implements UserService {
    @Autowired
    private OrderService orderService;

    String name;


    public void setName(String name) {
        this.name = name;
    }
    public void getName(){
        System.out.println(name);
    }

    @Override
    public void test() {
        System.out.println("执行AOP");
    }
}
